package com.skynet.supervision.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skynet.supervision.entities.base.BaseEntity;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.EqualsAndHashCode;

/**
 * @description t_sys_dict_data
 * @author xuchao
 * @date 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_dict_data")
public class SysDictData extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 字典键值
     */
    @TableField("key")
    private String key;

    /**
     * 字典编码
     */
    @TableField("code")
    private String code;

    /**
     * 字典值
     */
    @TableField("value")
    private String value;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 是否为默认值
     */
    @TableField("is_default")
    private Boolean isDefault;

}
